<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Bootstrap Material Admin by Bootstrapious.com</title>
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="robots" content="all,follow">
  <!-- Bootstrap CSS-->
  <link rel="stylesheet" href="/admin/vendor/bootstrap/css/bootstrap.min.css">
  <!-- Font Awesome CSS-->
  <link rel="stylesheet" href="/admin/vendor/font-awesome/css/font-awesome.min.css">
  <!-- Fontastic Custom icon font-->
  <link rel="stylesheet" href="/admin/css/fontastic.css">
  <!-- Google fonts - Poppins -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,700">
  <!-- theme stylesheet-->
  <link rel="stylesheet" href="/admin/css/style.default.css" id="theme-stylesheet">
  <!-- Custom stylesheet - for your changes-->
  <link rel="stylesheet" href="/admin/css/custom.css">
  <!-- Favicon-->
  <link rel="shortcut icon" href="/admin/img/favicon.ico">
  <!-- Tweaks for older IEs-->
  <!--[if lt IE 9]>
        <script src="/admin/https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="/admin/https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
</head>

<body>
  <div class="page">
    <!-- Main Navbar-->
    <% include common/header.ejs %>
    <div class="page-content d-flex align-items-stretch">
      <!-- Side Navbar -->
      <% include common/slider.ejs %>
      <div class="content-inner">
        <!-- Page Header-->
        <!-- Breadcrumb-->
        <% include common/crumb.ejs %>
        <section class="projects no-padding-top">
          <div class="container-fluid">
            <!-- Project-->
            <div class="project">
              <% include common/toolbar.ejs %>
            </div>
            <!-- Project-->
            <% for(var i=0;i<page_data.length;i++){ %>
            <div class="project">
              <div class="row bg-white has-shadow">
                <div class="left-col col-lg-6 d-flex align-items-center justify-content-between">
                  <div class="project-title d-flex align-items-center">
                    <div class="image has-shadow"><img src="<%= page_data[i].icon %>" alt="..." class="img-fluid"></div>
                    <div class="text">
                      <h3 class="h4"><%= page_data[i].nikename %></h3><small>关注: <%= page_data[i].follow %></small>
                    </div>
                  </div>
                  <%
                    var d=new Date(page_data[i].time);
                    var month = d.getMonth()+1;
                    var date = d.getDate();
                    var hour = d.getHours();
                    var time = month+'月'+date+'号'+hour+'点'
                  %>
                  <div class="project-date"><span class="hidden-sm-down">注册时间 <%= time %></span></div>
                </div>
                <div class="right-col col-lg-6 d-flex align-items-center">
                  <div class="time">
                    <a name="" id="" class="btn btn-danger small" href="<%= '/admin/' + api_name + '/del?dataName=' + dataName + '&start=' + start + '&q=' + q + '&rule=' + rule + '&_id=' + page_data[i]._id + '&count=' + count  %>" role="button">删除</a>
                  </div>
                  <div class="comments">
                    <a name="" id="" class="btn btn-dark small" href="<%= '/admin/' + api_name + '/check?dataName=' + dataName + '&start=' + start + '&q=' + q + '&rule=' + rule + '&_id=' + page_data[i]._id + '&count=' + count  %>" role="button">修改</a>
                  </div>
                  <div class="project-progress">
                    <div class="progress">
                      <div role="progressbar" style="width: 45%; height: 6px;" aria-valuenow="25" aria-valuemin="0"
                        aria-valuemax="100" class="progress-bar bg-red"></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <% } %>
            
            <div class="project">
              <% include common/paging.ejs %>
            </div>
          </div>
        </section>
        <!-- Page Footer-->
        <% include common/footer.ejs %>
      </div>
    </div>
  </div>
  <!-- JavaScript files-->
  <script src="/admin/vendor/jquery/jquery.min.js"></script>
  <script src="/admin/vendor/popper.js/umd/popper.min.js"> </script>
  <script src="/admin/vendor/bootstrap/js/bootstrap.min.js"></script>
  <script src="/admin/vendor/jquery.cookie/jquery.cookie.js"> </script>
  <script src="/admin/vendor/chart.js/Chart.min.js"></script>
  <script src="/admin/vendor/jquery-validation/jquery.validate.min.js"></script>
  <!-- Main File-->
  <script src="/admin/js/front.js"></script>
</body>

</html>